package com.neu.carbon.mes.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import com.neu.common.annotation.Excel;
import com.neu.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 工厂建模明细对象 mes_factory_model_detail
 *
 * @author neuedu
 * @date 2025-03-06
 */
public class MesFactoryModelDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 生产线外键 */
    private Long productLineId;

    /** 设备外键 */
    private Long equipmentId;

    /** 设备 */
    @Excel(name = "设备")
    private String name;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 生产日期 */
    @ApiModelProperty(value="生产日期",example = "2021-09-10")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productDate;

    /** 生产编号 */
    @Excel(name = "生产编号")
    private String batchNo;

    /** 制造商 */
    @Excel(name = "制造商")
    private String manufacturer;


    public Long getProductLineId() {
        return productLineId;
    }

    public void setProductLineId(Long productLineId) {
        this.productLineId = productLineId;
    }

    public Long getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(Long equipmentId) {
        this.equipmentId = equipmentId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Date getProductDate() {
        return productDate;
    }

    public void setProductDate(Date productDate) {
        this.productDate = productDate;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }
}
